from django.conf.urls import patterns, url
from django.http import HttpRequest

from core.views import HomeView
from . import views
from django.http import HttpResponse

urlpatterns = patterns(
    '',
    url(
        r'^$',
        HomeView.as_view(),
        name="home"
    ),
    url(
        r'^test$',
        HomeView().test
    ),
    url(
        r'^image/hash$',
        HomeView().hash_image
    ),
    url(
        r'^image/url$',
        HomeView().hash_image_url
    ),
    url(
        r'^comment/check.*$',
        HomeView().comment_check
    ),
)
